package com.zhijiang.hospital.service;

import com.zhijiang.common.util.BaseQuery;
import com.zhijiang.common.util.PageList;
import com.zhijiang.hospital.entrty.Meeting;
import com.zhijiang.hospital.entrty.SMeetingcheckrecode;
import com.zhijiang.hospital.entrty.dto.EmployeeDto;
import com.zhijiang.hospital.entrty.dto.MeetingDto;
import com.zhijiang.hospital.entrty.dto.MeetingEmployeeDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project zhiJiangHealthBureau
 * @description
 * @date 2023-01-10 09:19:24
 */
public interface MeetingService {
    PageList<Meeting> findAll(BaseQuery baseQuery);

    Integer insertMeeting(Meeting meeting);

    Meeting selectMeeting(String mCode);

    List<Meeting> selectMeetingList(String startTime, String endTime);

    List<String> findMCode(String mCode);


    void meetingApproval(String mCode, String emplCode);

    List<EmployeeDto> leaveEmployeeNumber(String mCode);

  

    void update(String mCode, String text);

    void update1(String mCode, String text);
    void addFile(String mCode,MultipartFile file) throws IOException;

    void batchMeetingApproval(String mCode, List<SMeetingcheckrecode> dto);

    List<EmployeeDto> findLeave(String mCode);

    void setFilePh(String mCode,String s);

    void setMeetingFish(String mCode, int time);

    void setTwoSign(Meeting meeting);


    void updateTime(String mCode, String s);

    void importExcel(MultipartFile file,String mCode) throws IOException;
}
